package com.project.bean;

public class InfoBean {
    private int id;
    private int productId;
    private int num;
    private int orderId;
    private OrderBean order;

    public InfoBean() {
    }

    public InfoBean(int productId, int num) {
        this.productId = productId;
        this.num = num;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public OrderBean getOrder() {
        return order;
    }

    public void setOrder(OrderBean order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "InfoBean{" +
                "id=" + id +
                ", productId=" + productId +
                ", num=" + num +
                ", orderId=" + orderId +
                ", order=" + order +
                '}' + "\n";
    }
}
